﻿@model Mockingbird.Core.Models.UserPropertiesModel
@{
    Layout = null;
}
<li class="stream-item first">
    <div class="post">
        <div class="post-content">
            <div class="stream-item-header">
                <a class="account-group" href="@Url.Action("GetUserFeeds", "NewsFeed", new { userId = Model.Id })">
                    @Html.Gravatar(Model.Email, 40, "size40")
                    <strong class="fullname">@Model.Name</strong> <span>&rlm;</span> </a><small class="time">
                        <span>Rgistrer date: @Model.RegistryDate.ToString() </span></small>
            </div>
            <div class="stream-item-footer">
                <ul class="post-actions">
                    @if (User.Properties.Friends.Contains(Model.Id))
                    {
                        <li follow-id="@Model.Id" class="unfollowUser action-reply"><a href="#"><i class="glyphicon glyphicon-user">
                        Unfollow</i></a> </li>
                    }
                    else
                    {
                        <li follow-id="@Model.Id" class="followUser action-reply"><a href="#"><i class="glyphicon glyphicon-user">
                        Follow</i></a> </li>}
                </ul>
            </div>
        </div>
    </div>
</li>
